#pragma once
#include "SectionID.h"
#include "SectionBase.h"

#include "../GUI/GUIManager.h"

class SectionManager
{
public:
	SectionManager();
	~SectionManager();

	BOOL Init();
	void UnInit();
	
	void Update(float TimeDelta);
	void Render();

	void HandleEvent( UINT message, WPARAM wParam, LPARAM lParam );
	void ProcessGUIMessage( GUIMessage & msg );

public:
	void ConnectSection( SECTION_ID sectionID ); 

private:
	SectionBase * m_pSectionList[SECTION_ID_MAX];
	SECTION_ID m_curSectionID;
};